package com.ja.jspcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by 86151 on 2019/4/24.
 */
@Controller
public class JspTestController {
    @GetMapping("/testJsp")
    public String testJsp(Model model){
        model.addAttribute("test","hello Jsp test!");
        return "login";
    }
}
